package com.zhang.service;


import com.myspring.anno.MyComponent;

@MyComponent
public class BeanPostService {


    private String name;

    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }



    public void test() {
        System.out.println("我是一个UserService.test()方法");
        System.out.println("我的名字是：" + name);
    }
}
